require("../../common/vendor.js"), (global.webpackJsonp = global.webpackJsonp || []).push([ [ "pagesA/pages/userA/info" ], {
    "1f96": function(e, n, t) {
        t.r(n);
        var o, a = t("ac64"), r = t.n(a);
        for (o in a) "default" !== o && function(e) {
            t.d(n, e, function() {
                return a[e];
            });
        }(o);
        n.default = r.a;
    },
    "3eb9": function(e, n, t) {
        t.d(n, "b", function() {
            return o;
        }), t.d(n, "c", function() {
            return a;
        }), t.d(n, "a", function() {});
        var o = function() {
            this.$createElement;
            this._self._c;
        }, a = [];
    },
    "554d": function(e, n, t) {
        (function(e) {
            function n(e) {
                return e && e.__esModule ? e : {
                    default: e
                };
            }
            t("0cda"), n(t("66fd")), e(n(t("c771")).default);
        }).call(this, t("543d").createPage);
    },
    ac64: function(e, t, c) {
        (function(o) {
            Object.defineProperty(t, "__esModule", {
                value: !0
            }), t.default = void 0;
            var e, a = (e = c("a34a")) && e.__esModule ? e : {
                default: e
            };
            function u(e, n, t, o, a, r, c) {
                try {
                    var i = e[r](c), u = i.value;
                } catch (e) {
                    return t(e), 0;
                }
                i.done ? n(u) : Promise.resolve(u).then(o, a);
            }
            var r = getApp(), n = (c("01b2"), {
                data: function() {
                    return {
                        module_name: r.globalData.module_name,
                        showAlert_login: !1,
                        userinfo: o.getStorageSync("userinfo"),
                        setting: o.getStorageSync("setting"),
                        wxCode: "",
                        systemtype: "",
                        graceAddressPickerShow: !1,
                        area: ""
                    };
                },
                props: {},
                onShow: function() {
                    o.hideLoading();
                },
                onLoad: function(e) {
                    var i, t = this;
                    return i = a.default.mark(function e() {
                        var n;
                        return a.default.wrap(function(e) {
                            for (;;) switch (e.prev = e.next) {
                              case 0:
                                return e.next = 2, t.$onLaunched;

                              case 2:
                                (n = t).setting = o.getStorageSync("setting"), n.tabBar = o.getStorageSync("tabbar"), 
                                n.userinfo = o.getStorageSync("userinfo"), o.hideLoading(), t.module_name = r.globalData.module_name;

                              case 10:
                              case "end":
                                return e.stop();
                            }
                        }, e);
                    }), function() {
                        var e = this, c = arguments;
                        return new Promise(function(n, t) {
                            var o = i.apply(e, c);
                            function a(e) {
                                u(o, n, t, a, r, "next", e);
                            }
                            function r(e) {
                                u(o, n, t, a, r, "throw", e);
                            }
                            a(void 0);
                        });
                    }();
                },
                onPullDownRefresh: function() {
                    this.user_info();
                },
                methods: {
                    openPicker: function() {
                        this.graceAddressPickerShow = !0;
                    },
                    pickerConfirm: function(e) {
                        this.area = e.names[0] + " " + e.names[1] + " " + e.names[2], this.closePicker();
                    },
                    closePicker: function() {
                        this.graceAddressPickerShow = !1;
                    },
                    formSubmit: function(e) {
                        var n = e.detail.value, e = r.globalData.util.url("entry/wxapp/api", {
                            m: r.globalData.module_name,
                            o: "edit_userinfo"
                        });
                        o.request({
                            url: e,
                            method: "GET",
                            data: {
                                openid: o.getStorageSync("openid"),
                                realname: n.realname,
                                mobile: n.mobile,
                                alipayno: n.alipayno
                            },
                            success: function(e) {
                                o.showToast({
                                    title: "修改成功",
                                    icon: "none"
                                }), o.navigateTo({
                                    url: "../../../pages/user/index"
                                });
                            }
                        });
                    },
                    user_info: function() {
                        var n = this, e = r.globalData.util.url("entry/wxapp/userinfonew", {
                            m: r.globalData.module_name
                        });
                        o.request({
                            url: e,
                            method: "POST",
                            header: {
                                "content-type": "application/x-www-form-urlencoded"
                            },
                            data: {
                                openid: o.getStorageSync("openid")
                            },
                            success: function(e) {
                                o.setStorageSync("userinfo", e.data.data), n.userinfo = e.data.data, o.stopPullDownRefresh();
                            }
                        });
                    }
                },
                components: {
                    gracePage: function() {
                        c.e("graceUI/components/gracePage").then(function() {
                            return resolve(c("1021"));
                        }.bind(null, c)).catch(c.oe);
                    },
                    graceAddressPicker: function() {
                        Promise.all([ c.e("common/vendor"), c.e("graceUI/components/graceAddressPicker") ]).then(function() {
                            return resolve(c("527e"));
                        }.bind(null, c)).catch(c.oe);
                    },
                    graceSelectImgAndUpload: function() {
                        Promise.all([ c.e("common/vendor"), c.e("graceUI/components/graceSelectImgAndUpload") ]).then(function() {
                            return resolve(c("784c"));
                        }.bind(null, c)).catch(c.oe);
                    }
                }
            });
            t.default = n;
        }).call(this, c("543d").default);
    },
    c771: function(e, n, t) {
        t.r(n);
        var o, a = t("3eb9"), r = t("1f96");
        for (o in r) "default" !== o && function(e) {
            t.d(n, e, function() {
                return r[e];
            });
        }(o);
        var c = t("f0c5"), a = Object(c.a)(r.default, a.b, a.c, !1, null, null, null, !1, a.a, void 0);
        n.default = a.exports;
    }
}, [ [ "554d", "common/runtime", "common/vendor", "pagesA/common/vendor" ] ] ]);